<?php /* Smarty version Smarty-3.0.7, created on 2014-01-03 16:27:17
         compiled from "E:/runtime/other/zqn.sh/app_web/_view/templates\show/index2.html" */ ?>
<?php /*%%SmartyHeaderCode:1032452c6746533df73-84296397%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd700379f50a65ff5d6a603ebd72d0f6107871c09' => 
    array (
      0 => 'E:/runtime/other/zqn.sh/app_web/_view/templates\\show/index2.html',
      1 => 1388737634,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1032452c6746533df73-84296397',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>色彩私家专属儿童摄影 - 作品展示</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="description" content="Sliding Panel Photowall Gallery with jQuery" />
<meta name="keywords" content="jquery, images, gallery, photowall, slideshow"/>
<link rel="stylesheet" href="<?php echo @APP_PATH;?>
/_view/templates/show/css/style.css" type="text/css" media="screen"/>
</head>
<body>
<div style="text-align:center; padding-top:100px; padding-bottom:30px;">
  <table border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td><a href="index.htm"><img src="<?php echo @APP_PATH;?>
/_view/templates/show/images/indexlogo.gif" alt="" width="456" height="51" border="0" /></a></td>
      <td width="30">&nbsp;</td>
      <td class="bt01">1岁以下宝宝照片</td>
    </tr>
  </table>
<a href="/"></a></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><span id="description"></span> <span class="reference"> 作品分类：
    <?php  $_smarty_tpl->tpl_vars['Row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('AlbumClassData')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['Row']->key => $_smarty_tpl->tpl_vars['Row']->value){
?>
     <a href="./?application=web&controller=album&id=<?php echo $_smarty_tpl->tpl_vars['Row']->value['ID'];?>
"><?php echo $_smarty_tpl->tpl_vars['Row']->value['Name'];?>
&nbsp;&nbsp;</a>
     <?php }} ?>
     </span> <span id="loading">Loading Image</span></td>
  </tr>
  <tr>
    <td align="center">&nbsp;</td>
  </tr>
</table>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
        <!-- 图片列表 begin -->
<?php  $_smarty_tpl->tpl_vars['Row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('AlbumData')->value['Rows']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['Row']->key => $_smarty_tpl->tpl_vars['Row']->value){
?>        
        <div class="default"><a href="./?application=web&controller=album&method=picture&id=<?php echo $_smarty_tpl->tpl_vars['Row']->value['ID'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['Row']->value['Name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['Row']->value['Cover'];?>
" width="145" height="90" border="0" /></a></div>
<?php }} ?>
        <!-- 图片列表 end -->
      </div>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center">
        <?php $_smarty_tpl->tpl_vars['PageRange'] = new Smarty_variable($_smarty_tpl->getVariable('AlbumData')->value['CurrentPage']/10*10, null, null);?>
        <?php $_smarty_tpl->tpl_vars['PageStart'] = new Smarty_variable($_smarty_tpl->getVariable('PageRange')->value-5, null, null);?>
        <?php $_smarty_tpl->tpl_vars['PageEnd'] = new Smarty_variable($_smarty_tpl->getVariable('PageRange')->value+5, null, null);?>                                                                         
        <?php if ($_smarty_tpl->getVariable('PageStart')->value<1){?>
            <?php $_smarty_tpl->tpl_vars['PageStart'] = new Smarty_variable(1, null, null);?>             
        <?php }?>      
        <?php if ($_smarty_tpl->getVariable('PageEnd')->value>$_smarty_tpl->getVariable('AlbumData')->value['PageCount']){?>
            <?php $_smarty_tpl->tpl_vars['PageEnd'] = new Smarty_variable($_smarty_tpl->getVariable('AlbumData')->value['PageCount']+1, null, null);?>             
        <?php }?>                                                                    
        <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['name'] = 'Page';
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] = (int)$_smarty_tpl->getVariable('PageStart')->value;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('PageEnd')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] = 1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['Page']['total']);
?>    
            <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['Page']['index']==$_smarty_tpl->getVariable('AlbumData')->value['CurrentPage']){?>
                <strong>[<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['Page']['index'];?>
]</strong>
            <?php }else{ ?>           
                <a href="./?application=web&controller=album&id=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->GetArguments('id');?>
&page=<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['Page']['index'];?>
" target="_self">
                    [<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['Page']['index'];?>
]
                </a>
            <?php }?>
            &nbsp;
        <?php endfor; endif; ?>     
    </td>
  </tr>
</table>
<div class="d1" style="text-align:center; line-height:24px; color:#6e6e6e; padding-top:50px; padding-bottom:100px; font-size:12px;">网站上所有照片均出自真实客片，色彩私家专属儿童摄影和照片所有者保留所有权利<br />
©2003-2014色彩私家专属儿童摄影　辽ICP备09002750号　<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1000219134'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1000219134' type='text/javascript'%3E%3C/script%3E"));</script></div>
</body>
</html>